package personresources.manager.logic;
import java.util.List;

import personresources.manager.dto.EmployeeDto;
import personresources.manager.hibernate.Employee;
/**
 * 
 * @author Duy Chuong
 *
 */
public interface EmployeeLogic {
	/**
	 * Get list of Employee by group
	 * @param groupId id of group
	 * @return List of Employee
	 */
	
	List<EmployeeDto> getEmployeeList(Integer groupId);
	/**
	 * Get Employee By employeeId
	 * @param employeeId employeeId 
	 * @return Employee
	 */
	Employee getEmployeeByEmployeeId(Integer employeeId);
	/**
	 * Get Employee by Email
	 * @param email Email of Employee
	 * @return Employee
	 */
	Employee getEmployeeByEmail(String email);
	/**
	 * Insert a new Employee into BD
	 * @param employee Employee
	 */
	void setEmployee(Employee employee);
}
